local skel = fk.CreateSkill {
  name = "role_exmode_mingtu__lb_hui",
  tags = { Skill.Limited }
}

Fk:loadTranslationTable {
  ["role_exmode_mingtu__lb_hui"] = "毁",
  [":role_exmode_mingtu__lb_hui"] = "<b>限定技</b>，出牌阶段，你可以分配1点火焰伤害。",
  ["#role_exmode_mingtu__lb_hui"] = "毁：你可以分配1点火焰伤害",
}

skel:addEffect("active", {
  prompt = "#role_exmode_mingtu__lb_hui",
  can_use = function(self, player)
    return player:usedSkillTimes(skel.name, Player.HistoryGame) == 0
  end,
  target_filter = function (self, player, to_select, selected, selected_cards, card, extra_data)
    return #selected == 0
  end,
  card_filter = Util.FalseFunc,
  feasible = function (self, player, selected, selected_cards, card)
    return #selected == 1
  end,
  on_use = function(self, room, skillUseEvent)
    room:damage {
      from = skillUseEvent.from,
      to = skillUseEvent.tos[1],
      damage = 1,
      skillName = skel.name,
      damageType = fk.FireDamage,
    }
  end,
})

return skel